package com.hgw.Demo04_CreateInterator.createInterator;

/**
 * Data time:2021/12/17 21:54
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class ConcreteIterator implements Iterator{
    private ConcreteIterator object;    // 维持一个对具体聚合对象的引用，以便于访问存储在聚合对象中的数据

    private int cursor;                 // 定义一个游标，用于记录当前访问位置

    public ConcreteIterator(ConcreteIterator object) {
        this.object = object;
    }

    @Override
    public void first() {

    }

    @Override
    public void next() {

    }

    @Override
    public boolean hasNext() {
        return false;
    }

    @Override
    public Object currentItem() {
        return null;
    }
}
